package banklogic;

import exceptions.NotEnoughMoneyException;

/**
 * Created with IntelliJ IDEA.
 * User: Pronly
 * Date: 17.07.13
 * Time: 23:46
 * To change this template use File | Settings | File Templates.
 */
public interface Account {

    public void deposit(int x);

    public void withdraw(int x) throws NotEnoughMoneyException;

    public int getCurrentDeposit();
}
